import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import Print from 'vue-print-nb'
Vue.use(Print)

// 引入组件
// import '@/plugins/element.js'

Vue.use(ElementUI)
Vue.config.productionTip = false



// 引入仓库
import store from './store'

new Vue({
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  router,
  render: (h) => h(App),
  // 注册仓库，组件实例身上会多一个$store 属性
  store
}).$mount('#app')
